package com.ibm.workplace.wcm.cqplugin.cq;

import com.ibm.workplace.wcm.cqplugin.*;

public class CqDefectSearchCriteria implements IBugSearchCriteria {

    private String number;
    private String component;
    private String release;
    private String originator;
    private String owner;
    private String state;
    private String priority;
    private String target;
    
    private boolean advanced;
    private String advancedQuery;
        
    public CqDefectSearchCriteria() {
        super();
    }
    
    public CqDefectSearchCriteria(String number) {
        super();
        
        this.number = number;
    }
            
    public CqDefectSearchCriteria(String number, String component, String release, String originator, String owner, String state) {
        super();
        
        this.number = number;
        this.component = component;
        this.release = release;
        this.originator = originator;
        this.owner = owner;
        this.state = state;
    }

    public String getComponent() {
        return component;
    }
    
    public void setComponent(String component) {
        this.component = component;
    }
    
    public String getNumber() {
        return number;
    }
    
    public void setNumber(String number) {
        this.number = number;
    }
    
    public String getOriginator() {
        return originator;
    }
    
    public void setOriginator(String originator) {
        this.originator = originator;
    }
    
    public String getOwner() {
        return owner;
    }
    
    public void setOwner(String owner) {
        this.owner = owner;
    }
    
    public String getRelease() {
        return release;
    }
    
    public void setRelease(String release) {
        this.release = release;
    }
    
    public String getState() {
        return state;
    }
    
    public void setState(String state) {
        this.state = state;
    }

    
    public String getPriority() {
        return priority;
    }

    
    public void setPriority(String priority) {
        this.priority = priority;
    }
    
    public String getTarget() {
        return target;
    }
    
    public void setTarget(String target) {
        this.target = target;
    }
    
    public boolean isAdvanced() {
        return advanced;
    }
    
    public void setAdvanced(boolean advanced) {
        this.advanced = advanced;
    }
    
    public String getAdvancedQuery() {
        return advancedQuery;
    }
    
    public void setAdvancedQuery(String advancedQuery) {
        this.advancedQuery = advancedQuery;
    }    
          
}
